package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseVo;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 金蝶，先进先出核算列表(没有期初和期末)
 * </p>
 * @author WuZH
 * @since 2024-08-11
 */
@Data
@TableName ("erp_king_calculate_info")
@ApiModel (value = "KingCalculateEntity对象", description = "金蝶，先进先出核算列表(没有期初和期末)")
public class KingCalculateEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("核算序列")
    @TableField ("calculate_index")
    private String calculateIndex;

    @ApiModelProperty ("核算序列类型")
    @TableField ("calculate_type")
    private String calculateType;

    @ApiModelProperty ("事务类型")
    @TableField ("transaction_type")
    private String transactionType;

    @ApiModelProperty ("事务类型")
    @TableField ("transaction_type_name")
    private String transactionTypeName;

    @ApiModelProperty ("单据编号，取源单编号")
    @TableField ("doc_no")
    private String docNo;

    @ApiModelProperty ("源单明细id")
    @TableField ("source_detail_id")
    private String sourceDetailId;

    @ApiModelProperty ("往来单位，直接入名称")
    @TableField ("transaction_company")
    private String transactionCompany;

    @ApiModelProperty ("业务日期，取源单，年月日")
    @TableField ("biz_date")
    private Date bizDate;

    @ApiModelProperty ("审核日期")
    @TableField ("verify_date")
    private Date verifyDate;

    @ApiModelProperty ("行号")
    @TableField ("line_number")
    private String lineNumber;

    @ApiModelProperty ("仓库")
    @TableField ("warehouse_id")
    private String warehouseId;

    @ApiModelProperty ("物料")
    @TableField ("material_id")
    private String materialId;

    @ApiModelProperty ("批次号")
    @TableField ("batch_number")
    private String batchNumber;

    @ApiModelProperty ("入库数量")
    @TableField ("in_num")
    private String inNum;

    @ApiModelProperty ("入库总成本")
    @TableField ("in_total_cost")
    private String inTotalCost;

    @ApiModelProperty ("入库单位成本")
    @TableField ("in_unit_cost")
    private String inUnitCost;

    @ApiModelProperty ("出库数量")
    @TableField ("out_num")
    private String outNum;

    @ApiModelProperty ("出库总成本")
    @TableField ("out_total_cost")
    private String outTotalCost;

    @ApiModelProperty ("出库单位成本")
    @TableField ("out_unit_cost")
    private String outUnitCost;

    @ApiModelProperty ("源单类型,直接入名称")
    @TableField ("source_type")
    private String sourceType;

    @ApiModelProperty ("源单行号，取源单明细的")
    @TableField ("source_line_number")
    private String sourceLineNumber;

    @ApiModelProperty ("计价方法")
    @TableField ("pricing_type")
    private String pricingType;

    @ApiModelProperty ("结算单据日期")
    @TableField ("settlement_doc_date")
    private Date settlementDocDate;

    @ApiModelProperty ("结算单据审核日期")
    @TableField ("settlement_doc_verify_date")
    private Date settlementDocVerifyDate;

    @ApiModelProperty ("结算成本单据编号")
    @TableField ("settlement_cost_doc_no")
    private String settlementCostDocNo;

    @ApiModelProperty ("结算成本单据行号")
    @TableField ("settlement_cost_doc_line_number")
    private String settlementCostDocLineNumber;

    @ApiModelProperty ("成本来源")
    @TableField ("cost_source")
    private String costSource;

    @ApiModelProperty ("成本赋值时间")
    @TableField ("cost_voluation_date")
    private Date costVoluationDate;

    @ApiModelProperty ("创建人")
    @TableField ("create_user_id")
    private String createUserId;

    @ApiModelProperty ("创建时间")
    @TableField ("create_date")
    private Date createDate;

    @ApiModelProperty ("更新人")
    @TableField ("update_user_id")
    private String updateUserId;

    @ApiModelProperty ("更新时间")
    @TableField ("update_date")
    private Date updateDate;

    @TableField ("is_used")
    private Integer isUsed;


}
